﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VRDD.InputDto._210908
{
    /// <summary>
    ///  获取店铺数据字典类别列表
    /// </summary>
    public class InputStoreDictType
    {
        /// <summary>
        ///  店铺id
        /// </summary>
        [Required]
        [RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "请传入正确店铺id")]
        public int storeID { get; set; }
        /// <summary>
        ///  数据字典根代码，例如：StaffType
        /// </summary>
        [Required(ErrorMessage = "dictType：数据字典根代码不能为空！")]
        public string dictType { get; set; }
        /// <summary>
        ///  类别【1=已启用，0=未启用】
        /// </summary>
        [Required]
        public int status { get; set; } = 1;
    }
}